package com.chushouya.product.dto.admin.product.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("评估选项模板")
public class TempEvaluateItemDetailDTO {

    private Long tempItemId;

    @ApiModelProperty(value = "评估项目id", required = true)
    private Long itemId;

    @ApiModelProperty(value = "评估项目名称", required = true)
    private String itemName;

    @ApiModelProperty(value = "评估项目选项类型", required = true)
    private Integer selectType;

    private String selectTypeDesc;

    @ApiModelProperty(value = "排序", required = true)
    private Integer sort;

    @ApiModelProperty(value = "评估项目选项列表", required = true)
    private List<TempEvaluateItemValueDetailDTO> values;

//    public String getSelectTypeDesc() {
//        return EvaluateItemSelectTypeEnum.getDesc(this.selectType);
//    }

}
